#pragma once

#include <QtWidgets/QMainWindow>
#include <QVTKOpenGLNativeWidget.h>
#include <pcl/point_types.h> 
#include <pcl/visualization/pcl_visualizer.h>
#include <pcl/visualization/cloud_viewer.h>

class PCLICP : public QMainWindow
{
    Q_OBJECT

public:
    PCLICP(QWidget *parent = nullptr);
    ~PCLICP();

    pcl::visualization::PCLVisualizer::Ptr viewer;
    pcl::PointCloud<pcl::PointXYZ>::Ptr cloudIn;
	pcl::PointCloud<pcl::PointXYZ>::Ptr cloudTr;
    pcl::PointCloud<pcl::PointXYZ>::Ptr cloudIcp;
    QVTKOpenGLNativeWidget *vtkWidget;
};
